home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / dramfast.zip / QDRAM.SCR < prev    next >
Text File  |  1988-09-19  |  2KB  |  40 lines

  1. N QDRAM.com
  2. A 100
  3. MOV AL,74
  4. OUT 43,AL
  5. MOV AL,62           ; use 50h for max speed for AST 286, original value is 12h
  6. OUT 41,AL
  7. MOV AL,00           ; use 01h for max speed for AST 286, original value is 00h
  8. OUT 41,AL
  9. INT 20
  10.  
  11. R CX
  12. 000E
  13. W
  14. Q
  15.  
  16.  
  17. ; QDRAM -- Decreases refresh cycle timer for the dRAM refresh rate to speed
  18. ;  DOC     up CPU performance.   Normally, a HEX value of 12h is in the I/O
  19. ;          register location 41h of the 8253 timer controlling refresh rate.
  20. ; To find the right for your machine, start increasing the value of "12" in
  21. ; line 5 to a maximum of "FF" (these are HEX values) and run TEST.BAT after
  22. ; each increment. If "FF" is reached without the CPU stopping due to parity
  23. ; errors (you'll have to COLDboot the machine), then increase the value "00"
  24. ; in line 7 (this is the high byte value for the timer) to "01" and restart
  25. ; the incrementing in line 5 from "00" to "FF" while running the benchmarks
  26. ; in file TEST.BAT.  You'll notice that the increase in CPU performance will
  27. ; rapidly reach a plateau and eventually you'll get a parity error (in my AT
  28. ; with an Inboard 386/AT, an error is obtained when the low byte [line 5] =
  29. ; "0C" to "0F" and the high byte [line 7] = "0F," but was obtained at lower
  30. ; values in an IBM XT).
  31. ;
  32. ; Use the lowest value providing the best performace increment for the final
  33. ; version of QDRAM.  This should increase the equivalent CPU speed by about
  34. ; 5% to 10%, depending on your machine.  I use a low byte value of "8F" and
  35. ; a high byte value of "00" in the 386ed AT to increase the equivalent speed
  36. ; to 24 Mhz from its original of 22 Mhz (Landmark test in CPUSPEED.COM), so
  37. ; far without any parity error problems.
  38. ;
  39. ; Based on PC Magazine July 1988 (v7 n13) PC Lab Notes (Brian K. Roemmele).
  40.